<?php
// +----------------------------------------------------------------------
// | ThinkPHP [ WE CAN DO IT JUST THINK ]
// +----------------------------------------------------------------------
// | Copyright (c) 2006~2018 http://thinkphp.cn All rights reserved.
// +----------------------------------------------------------------------
// | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 )
// +----------------------------------------------------------------------
// | Author: liu21st <liu21st@gmail.com>
// +----------------------------------------------------------------------
use think\facade\Route;


Route::group('', function () {

    //商户入口
    Route::get('index', 'merchant_index');
    // 根据商品码获取活动列表
    Route::get('product_prom', 'product_prom');
    // 获取混合活动列表
    Route::get('prom_list', 'prom_list');
    // 获取联合活动的商品列表 -- 废弃
    Route::get('prom', 'prom_info');
    // 提交数据
    Route::post('result', 'submit_activity');
    // 导购查询
    Route::get('query', 'get_virtual_market');

})->prefix('ShopSalesman/');


